package com.xoa.service.dutypoliceusers;

import com.xoa.model.dutypoliceusers.DutyPoliceUsers;
import com.xoa.util.ToJson;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

public interface DutyPoliceUsersService {

    //条件查询
    ToJson findDutyPoliceWhere(HttpServletRequest request, DutyPoliceUsers dutyPoliceUsers,Integer page,Integer limit);

    //根据ID查询
    ToJson findDutyPoliceById(HttpServletRequest request, DutyPoliceUsers dutyPoliceUsers);

    //编辑和删除
    ToJson editOrInsertDuty(HttpServletRequest request, DutyPoliceUsers dutyPoliceUsers);

    //删除
    ToJson deleteDuty(HttpServletRequest request, String dutyIds);

    //导入excel
    ToJson ImportDutyPolice(HttpServletRequest request, MultipartFile multipartFile);
}
